home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 32 / Mac Magazin and MacEasy Magazine CD - Issue 32.iso / System / Kontrollfelder / Sleeper 2.1.1d / Sleeper Documentation / Sleeper Documentation.rsrc / TEXT_133.txt < prev    next >
Text File  |  1996-10-10  |  2KB  |  32 lines

  1.  
  2. Other Ways to Activate Sleeper
  3.  
  4. The Sleep Now Application
  5.  
  6. An application called Sleep Now is distributed with Sleeper.  This application performs the same function as the hotkey:  when you launch it, it puts the monitor and disks to sleep.  
  7.  
  8. Sleep Now is useful in situations where you cannot use the hotkey, such as when you want to use AppleScript or a scheduling application to put your Mac to sleep at a particular time.  Sleep Now can also be put in the Apple Menu Items folder in your system folder to give you a "Sleep" selection in the menu.
  9.  
  10.  
  11. The Sleeper OSAX AppleScript Addition
  12.  
  13. An AppleScript addition called Sleeper OSAX is distributed with Sleeper.  This addition allows you to check whether the disks are asleep and to put them to sleep.
  14.  
  15. To use the addition, place it in the Scripting Additions folder inside the Extensions folder in your System folder.  You can then use the following commands in your AppleScript scripts:
  16.  
  17.      Sleeper is asleep -- returns true if disks are asleep
  18.      Sleeper go to sleep -- puts disks to sleep just like Sleeper's hotkey
  19.  
  20. This AppleScript addition requires that you have Sleeper installed on your Macintosh.  Note that with program linking on, you can also put other Sleeper-equipped Macs on your network to sleep with a script like this:
  21.  
  22.     tell application "Finder" of machine "St. Clair Server"
  23.         Sleeper go to sleep
  24.     end tell
  25.  
  26.  
  27. The Sleeper Now Control Strip Module
  28.  
  29. Sleeper Now is a module written by Geoffrey Keating for Control Strip.  It provides a button in the Control Strip which immediately invokes Sleeper, serving the same purpose as Sleeper's hotkey.  
  30.  
  31. Depending upon what model of Mac you own, you may or may not have Control Strip.  Until recently, Apple only distributed it with PowerBooks.  If you do have Control Strip, simply place Sleeper Now in the Control Strip Modules folder inside your System folder.  The next time you restart, you will have an additional button with 3 Z's on it.  Pressing this button activates Sleeper.
  32.